package testing;

import acm.*;

import static org.junit.Assert.*;
import java.sql.SQLException;
import org.junit.Test;

public class JunitEmpanadas {
	/**
	 * @throws SQLException
	 */
	@Test
	public void probarMetodo() throws SQLException{
		Empanadas fritas=new Empanadas();
		
		assertTrue(fritas.ingredienteEmpanadas(0,0,0,0,0,0));
		assertTrue(fritas.ingredienteEmpanadas(1000, 1000, 1000, 1000, 1000, 1));
		assertTrue(fritas.ingredienteEmpanadas(2, 100, 0, 0, 5, 1000));
		assertTrue(fritas.ingredienteEmpanadas(-3, -0, 3, 4, -5, 1));
		assertTrue(fritas.ingredienteEmpanadas(1, 0, 1, 0, -1, 1));
		assertTrue(fritas.ingredienteEmpanadas(2, 2, 3, 4, 5, 1));
		assertFalse(fritas.ingredienteEmpanadas(0,0,0,0,0,0));
		assertFalse(fritas.ingredienteEmpanadas(1000, 1000, 1000, 1000, 1000, 1));
		assertFalse(fritas.ingredienteEmpanadas(2, 100, 0, 0, 5, 1000));
		assertFalse(fritas.ingredienteEmpanadas(-3, -0, 3, 4, -5, 1));
		assertFalse(fritas.ingredienteEmpanadas(1, 0, 1, 0, -1, 1));
		assertFalse(fritas.ingredienteEmpanadas(2, 2, 3, 4, 5, 1));
		
		
		
		
	}
	

}
